package de.pernpas.stadtfuehrer.entity;

import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Enumerated;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import com.google.appengine.api.datastore.Key;

@Entity
public class Tour {
	private boolean active;
	@Enumerated
	private Category category;
    private List<Date> dates;
    private String description;
    private Date endTime;
    @Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Key key;
    private String name;
    private int rating;
    private Date startTime;

    public Category getCategory() {
        return category;
    }

    public List<Date> getDates() {
        return dates;
    }

    public String getDescription() {
        return description;
    }

    public Date getEndTime() {
        return endTime;
    }

    public Key getKey() {
		return key;
	}

    public String getName() {
		return name;
	}

    public int getRating() {
        return rating;
    }

    public Date getStartTime() {
        return startTime;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public void setDates(List<Date> dates) {
        this.dates = dates;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

	public void setKey(Key key) {
		this.key = key;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setRating(int rating) {
        this.rating = rating;
    }

	public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }
}
